-
Home
-
Qi Blocks
-
1.3.4 (latest)
-
Code
-
Classes
- Sanitizer
Total Complexity |
81 |
Dependencies |
13 |
Dependents |
1 |
Total lines |
686 |
Lines of code |
298 |
Logical lines of code |
149 |
Comment lines |
269 |
Methods |
31 |
Properties |
14 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
startClean() |
A |
41 |
14 |
59 |
cleanAttributesOnWhitelist() |
A |
48 |
10 |
31 |
isHrefSafeValue() |
A |
48 |
8 |
36 |
cleanUnsafeNodes() |
S |
54 |
7 |
19 |
sanitize() |
S |
50 |
6 |
28 |
isUseTagExceedingThreshold() |
S |
58 |
5 |
17 |
cleanXlinkHrefs() |
S |
63 |
2 |
10 |
isUseTagDirty() |
S |
74 |
2 |
4 |
setUpBefore() |
S |
68 |
2 |
7 |
resetAfter() |
S |
69 |
2 |
7 |
hasRemoteReference() |
S |
65 |
2 |
9 |
cleanHrefs() |
S |
64 |
2 |
10 |
removeNonPrintableCharacters() |
S |
78 |
1 |
3 |
setUseNestingLimit() |
S |
80 |
1 |
3 |
isDataAttribute() |
S |
78 |
1 |
3 |
isAriaAttribute() |
S |
78 |
1 |
3 |
useThreshold() |
S |
80 |
1 |
3 |
removeXMLTag() |
S |
80 |
1 |
3 |
minify() |
S |
80 |
1 |
3 |
getAllowedTags() |
S |
82 |
1 |
3 |
setXMLOptions() |
S |
81 |
1 |
3 |
setAllowedTags() |
S |
79 |
1 |
3 |
getXMLOptions() |
S |
82 |
1 |
3 |
resetInternal() |
S |
70 |
1 |
6 |
setAllowHugeFiles() |
S |
81 |
1 |
3 |
getAllowHugeFiles() |
S |
82 |
1 |
3 |
getXmlIssues() |
S |
82 |
1 |
3 |
removeRemoteReferences() |
S |
81 |
1 |
3 |
setAllowedAttrs() |
S |
79 |
1 |
3 |
getAllowedAttrs() |
S |
82 |
1 |
3 |
__construct() |
S |
75 |
1 |
4 |